package com.steel.yfmall.cloud.assistant.api.stock;

import com.steel.yfmall.cloud.assistant.bean.param.zg.APIZgGoodsTemplateBean;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


/**
 * @program: ZgPushProductAPI
 * @author: liuzhijun
 * @date: 2021-03-19 11:21
 **/
@FeignClient(value = "YFMALL-ASSISTANT-SERVICE-PROVIDER")
@Component
public interface ZgPushProductAPI {

    /**
     * 接受erp推送商品数据
     *
     * @param zgGoodsTemplateBeanList
     * @return com.steel.yfmall.cloud.components.utils.base.APIMsgBean<java.lang.Integer>
     * @author liuzhijun
     * @date 2021/5/19 09:45
     */
    @RequestMapping("pushProductInfo")
    APIMsgBean<Integer> pushProductInfo(List<APIZgGoodsTemplateBean> zgGoodsTemplateBeanList);

}
